package cn.stylefeng.guns.modular.lx.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 尹思莹
 * @since 2023-12-01
 */
@TableName("lx_sp_ysy")
public class LxSpYsy implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 条形码
     */
    @TableId(value = "sp_id", type = IdType.AUTO)
    private Integer spId;

    /**
     * 名称
     */
    @TableField("sp_name")
    private String spName;

    /**
     * 规格
     */
    @TableField("sp_guige")
    private String spGuige;

    /**
     * 单位
     */
    @TableField("sp_danwei")
    private String spDanwei;

    /**
     * 产地
     */
    @TableField("sp_cd")
    private String spCd;

    /**
     * 存货量
     */
    @TableField("sp_chl")
    private String spChl;

    /**
     * 所属类别
     */
    @TableField("sp_lb")
    private String spLb;

    /**
     * 零售价
     */
    @TableField("sp_lsj")
    private String spLsj;

    /**
     * 批发价
     */
    @TableField("sp_pfj")
    private String spPfj;

    /**
     * 备注
     */
    @TableField("sp_bz")
    private String spBz;


    public Integer getSpId() {
        return spId;
    }

    public void setSpId(Integer spId) {
        this.spId = spId;
    }

    public String getSpName() {
        return spName;
    }

    public void setSpName(String spName) {
        this.spName = spName;
    }

    public String getSpGuige() {
        return spGuige;
    }

    public void setSpGuige(String spGuige) {
        this.spGuige = spGuige;
    }

    public String getSpDanwei() {
        return spDanwei;
    }

    public void setSpDanwei(String spDanwei) {
        this.spDanwei = spDanwei;
    }

    public String getSpCd() {
        return spCd;
    }

    public void setSpCd(String spCd) {
        this.spCd = spCd;
    }

    public String getSpChl() {
        return spChl;
    }

    public void setSpChl(String spChl) {
        this.spChl = spChl;
    }

    public String getSpLb() {
        return spLb;
    }

    public void setSpLb(String spLb) {
        this.spLb = spLb;
    }

    public String getSpLsj() {
        return spLsj;
    }

    public void setSpLsj(String spLsj) {
        this.spLsj = spLsj;
    }

    public String getSpPfj() {
        return spPfj;
    }

    public void setSpPfj(String spPfj) {
        this.spPfj = spPfj;
    }

    public String getSpBz() {
        return spBz;
    }

    public void setSpBz(String spBz) {
        this.spBz = spBz;
    }

    @Override
    public String toString() {
        return "LxSpYsy{" +
        "spId=" + spId +
        ", spName=" + spName +
        ", spGuige=" + spGuige +
        ", spDanwei=" + spDanwei +
        ", spCd=" + spCd +
        ", spChl=" + spChl +
        ", spLb=" + spLb +
        ", spLsj=" + spLsj +
        ", spPfj=" + spPfj +
        ", spBz=" + spBz +
        "}";
    }
}
